package com.youmans.userservice.service;

import com.youmans.common_utils.vo.LoginVo;
import com.youmans.common_utils.vo.RegisterVo;
import com.youmans.common_utils.vo.UserForPic;
import com.youmans.userservice.entity.YoumansUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.context.annotation.Primary;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author youmans
 * @since 2022-10-17
 */

public interface YoumansUserService extends IService<YoumansUser> {

    List<UserForPic> list();

    String login(LoginVo loginVo);

    boolean register(RegisterVo registerVo);

    LoginVo getLoginInfo(String memberId);

    String getUserIdByname(String username);

    String getIdByname(String username);

    List<String> getUserNames();

    YoumansUser selectInfoByName(String name);

    YoumansUser getUserInfoByName(String name);
}
